<?php  
  
namespace app\common\enum;  
  
abstract class ErrorEnum  
{  
    const USERNAME_IS_EXIST_CODE = 1000; 
    const USERNAME_IS_EXIST_DESC = "'该用户名已经存在'";

    const USERNAME_IS_NOT_EXIST_CODE = 1001; 
    const USERNAME_IS_NOT_EXIST_DESC = "该用户名不存在"; 

    const SELECT_DELETE_DATA_CODE = 1002;
    const SELECT_DELETE_DATA_DESC = "请选择要删除的数据";

    const ROLE_NAME_IS_EXIST_CODE = 1003;
    const ROLE_NAME_IS_EXIST_DESC = "该角色名已经存在";

    const F_IS_NOT_EXIST_CODE = 1004;
    const F_IS_NOT_EXIST_DESC = "操作的数据不存在";

    const DATA_IS_EXIST_CODE = 1005;
    const DATA_IS_EXIST_DESC = "数据已经存在";

    const USERNAME_OR_PASSWORD_IS_ERROR_CODE = 1006;
    const USERNAME_OR_PASSWORD_IS_ERROR_DESC = "用户名或密码错误";
    
    const USERNAME_IS_DISABLED_CODE = 1007;
    const USERNAME_IS_DISABLED_DESC = "用户已被禁用";

    const ENTERED_PASSWORDS_DIFFER_CODE = 1008;
    const ENTERED_PASSWORDS_DIFFER_DESC = "两次输入的密码不一致";

 
}